home *** CD-ROM | disk | FTP | other *** search
- if(returnFromGame == 0)
- {
- }
- goalSound.setVolume(GoalSoundVolume);
- carSound.setVolume(100);
- ingameLoopSound.setVolume(ingameLoopSoundVolume);
- ingameLoopSound.stop();
- ingameLoopSound.start(0,999);
- _root.counter.goalSoundPlay = "off";
- returnFromGame = 1;
- introLoopFade = introLoopVolume;
- _root.watch.digits._visible = 1;
- _root.watch.timebar._visible = 1;
- _root.watch.stopwatchstarttime = _root.globaltime;
- _root.watch.minutechangetime = 1000;
- _root.watch.Starttime = getTimer();
- _root.watch.stopwatchseconds1 = 0;
- _root.watch.stopwatchseconds10 = 0;
- _root.watch.stopwatchminutes1 = (_root.watch.stopwatchstarttime / 10 - Math.floor(_root.watch.stopwatchstarttime / 10)) * 10;
- _root.watch.stopwatchminutes10 = Math.floor(_root.watch.stopwatchstarttime / 10);
- _root.watch.minutes = 0;
- _root.gameover._visible = 0;
- _root.gameover.gameover = 0;
- _root.watch.timebar.gotoAndStop(1);
- _root.watch.bar_starttime = getTimer();
- _root.watch.bar_totaltime = _root.watch.stopwatchstarttime * 60;
- _root.GoalGreen._visible = 0;
- _root.goalred._visible = 0;
- _root.GoalGreen._y = 170;
- _root.goalred._y = 170;
- _root.counter.goalleftcounter = 0;
- _root.counter.goalleftcounter1 = 0;
- _root.counter.goalleftcounter10 = 0;
- _root.counter.goalrightcounter = 0;
- _root.counter.goalrightcounter10 = 0;
- _root.counter.action = "0";
- _root.counter.goalleft1.gotoAndStop(10);
- _root.counter.goalleft10.gotoAndStop(10);
- _root.counter.goalright1.gotoAndStop(10);
- _root.counter.goalright10.gotoAndStop(10);
- _root.ball.wallbounce = 1;
- _root.ball.Ballenergy = 1.02;
- _root.ball.speedX = 0;
- _root.ball.c._visible = 0;
- _root.ball.posx = 364;
- _root.ball.posy = 60;
- _root.ball.RandomSpeed = random(25);
- _root.ball.speedY = 4 + _root.ball.RandomSpeed;
- _root.player1.hittimer = 30;
- _root.player1.borderbounce = 2.5;
- _root.player1._y = 145;
- _root.player1._x = 620;
- _root.player1.framenumber = 7;
- _root.player1.Speed = 0;
- _root.player1.diry = 0;
- _root.player1.dirx = -1;
- _root.player1.CollisionBall._visible = 0;
- _root.player1.collisionBig._visible = 0;
- _root.player1.CalcSpeedCounter = 0;
- _root.player1.collisionRealtime._visible = 0;
- _root.player1.ShootSpeed = 1.5;
- _root.player1.Bumptimer = 10;
- _root.player1.physicsY = 0;
- _root.player1.physicsX = 0;
- _root.player2.borderbounce = 2.5;
- _root.player2.ShootSpeed = 1.5;
- _root.player2.hittimer = 20;
- _root.player2.framenumber = 19;
- _root.player2._y = 145;
- _root.player2._x = 62;
- _root.player2.Speed = 0;
- _root.player2.dirY = 0;
- _root.player2.dirX = 1;
- _root.player2.collisionRealtime._visible = 0;
- _root.player2.CollisionBall._visible = 0;
- _root.player2.collisionBig._visible = 0;
- _root.player2.Bumptimer = 10;
- _root.player2.Speedtimer = 1;
- _root.player2.DirTimer = 1;
- _root.player2.physicsY = 0;
- _root.player2.physicsX = 0;
- _root.player2.MaxSpeed = MaxSpeed;
- _root.player2.lowAcc = lowAcc;
- _root.player2.highAcc = highAcc;
- _root.counter.goalleftcounter = 0;
- _root.counter.goalleftcounter1 = 0;
- _root.counter.goalleftcounter10 = 0;
- _root.counter.goalrightcounter = 0;
- _root.counter.goalrightcounter1 = 0;
- _root.counter.goalrightcounter10 = 0;
- _root.counter.action = "0";
- _root.counter.goalleft1.gotoAndStop(10);
- _root.counter.goalleft10.gotoAndStop(10);
- _root.counter.goalright1.gotoAndStop(10);
- _root.counter.goalright10.gotoAndStop(10);
- _root.GoalGreen._visible = 0;
- _root.goalred._visible = 0;
- _root.GoalGreen._y = 170;
- _root.goalred._y = 170;
-